package com.kang.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @program: Java_new_sql
 * @description: 数据库表中的字段
 * @author: K.faWu
 * @create: 2021-06-15 17:49
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Field {

    //所属的表名
    private String table;
    //字段名
    private String column;
    //字段类型
    private String type;
    //类型长度
    private Integer typeNum;
    //备注
    private String comment;
    //是否为主键
    private Boolean flag;
}
